site.canUndoCheckOut()

Availability 3.0
Description Determines whether Dreamweaver can perform an Undo Checkout operation.
Arguments siteOrURL
The argument must be the keyword "site", indicating that the function should act on the selection in the Site window, or the URL for a single file.
Returns A Boolean value indicating whether the specified file or at least one of the selected files is checked out (by any user).